<template>
  <div class="contact-page">
    <h2>联系我们</h2>

    <div class="contact-card">
      <div class="info-item">
        <strong>客服电话：</strong> <a href="tel:400-800-1234">400-800-1234</a>
      </div>
      <div class="info-item">
        <strong>邮箱：</strong> <a href="mailto:support@shopapp.com">support@shopapp.com</a>
      </div>
      <div class="info-item">
        <strong>微信客服：</strong> <span>shopapp123</span>
      </div>
      <div class="info-item">
        <strong>公司地址：</strong> <span>上海市浦东新区世纪大道88号</span>
      </div>
    </div>

    <div class="map-box">
      <iframe
        class="map"
        src="https://www.amap.com"
        frameborder="0"
      ></iframe>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ContactPage'
}
</script>

<style scoped>
.contact-page {
  padding: 20px;
  font-family: "微软雅黑", sans-serif;
  background-color: #f9f9f9;
}

h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.info-item {
  margin: 12px 0;
  font-size: 16px;
  color: #555;
}

.info-item a {
  color: #007bff;
  text-decoration: none;
}

.map-box {
  height: 600px;
  overflow: hidden;
  border-radius: 10px;
}

.map {
  width: 100%;
  height: 100%;
  border: none;
}
</style>
